package com.easycms.web.system.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author yushuo
 * @className
 * @descripton TODO
 * @date 2021/2/23 15:23
 **/
public class RoleButtonPermissionDto implements Serializable {


    private String menuId;
    private List<String> buttons;
    public RoleButtonPermissionDto(){
        buttons=new ArrayList<>();
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }
    public List<String> getButtons() {
        return buttons;
    }

    public void setButtons(List<String> buttons) {
        this.buttons = buttons;
    }

    public void put(String roleTag){
        buttons.add(roleTag);
    }
}
